/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mediaCache;

import javafx.scene.media.Media;

/**
 *
 * @author Irzh
 */
public class CacheEntry {
    private Media media;
    private int refCount;



    public CacheEntry(Media media){
        this.media = media;
        this.refCount = 1;
    }

    public Media getMedia() {
        return media;
    }

    public int getRefCount() {
        return refCount;
    }

    public void setRefCount(int refCount) {
        this.refCount = refCount;
    }
    
    


}

